package org.yn.base.service;

import org.yn.auth.domain.Role;
import org.yn.base.query.BaseQuery;
import org.yn.base.util.PageInfo;
import org.yn.emp.domain.Employee;
import org.yn.query.RoleQuery;

import java.util.List;

public interface IBaseService<T> {

    void update(T menu);

    void insert(T menu);

    List<T> selectAll();

    T selectById(Long id);

    void delete(Long id);

    void batchDelete(List<Long> ids);

    PageInfo<T> queryPage(BaseQuery query);


}
